package com.lord.label.domain;

import java.util.Date;

import org.hibernate.validator.constraints.NotEmpty;

import com.lord.label.base.BaseBean;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 
 * @Description: 分类实体
 * @author Lord
 * @date 2017年5月23日 上午9:06:53
 */
public class Category extends BaseBean{

	private static final long serialVersionUID = -5035310359903343058L;

	/** 类型名称. */
    @NotBlank(message="{类型名称不能为空}")
	private String typeName;

	/** 创建时间. */
    private Date gmtCreate;

    /** 修改时间. */
    private Date gmtModified;

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName == null ? null : typeName.trim();
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }
}